﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TaskManagementSystem.Entity.Enum
{
    public enum JobType
    {
        /// <summary>
        /// 指定时间执行一次
        /// </summary>
        Time = 0,

        /// <summary>
        /// 天
        /// </summary>
        Days = 1,

        /// <summary>
        /// 周
        /// </summary>
        Weeks = 2,

        /// <summary>
        /// 月
        /// </summary>
        Months = 3,

        /// <summary>
        /// 季度
        /// </summary>
        Quarter = 4,

        /// <summary>
        /// 年
        /// </summary>
        Years = 5,

        /// <summary>
        /// 小时
        /// </summary>
        Hours = 6,

        /// <summary>
        /// 分钟
        /// </summary>
        Minutes = 7,

        /// <summary>
        /// 秒
        /// </summary>
        Seconds = 8,

        /// <summary>
        /// 高级任务，即以Cron表达式制定工作排程
        /// </summary>
        Advanced = 9,
    }
}